home *** CD-ROM | disk | FTP | other *** search
- Path: christoph.ol.sub.de!news
- From: andi@christoph.ol.sub.de (Andreas Christoph)
- Newsgroups: comp.os.linux.misc,comp.lang.c++,gnu.gcc.help
- Subject: Re: Help: how do you redirect compile error to a file
- Date: 18 Mar 1996 12:40:22 GMT
- Organization: private
- Message-ID: <4ijljm$7rb@christoph.ol.sub.de>
- References: <4igdeo$8tf@news.jhu.edu>
- NNTP-Posting-Host: christoph.ol.sub.de
- X-Newsreader: knews 0.9.3
- In-Reply-To: <4igdeo$8tf@news.jhu.edu>
- To: yuehong@psi.ece.jhu.edu (yuehong)
-
- In article <4igdeo$8tf@news.jhu.edu>,
- yuehong@psi.ece.jhu.edu (yuehong) writes:
- >I try to use the following command when I compile hello.cpp
- >using gcc on linux:
- >
- >g++ hello.cpp >bug
- >
- >I thought error might be saved in bug. But, nothing there.
-
- Errors are reported to standard error (descriptor 2), so make it
- g++ hello.cpp 2>bug
-
- Bye,
- Andreas
-
- --
- --------------------------------------------------------------------
- Andreas Christoph
- Alexanderstr. 292
- 26127 Oldenburg
- --------------------------------------------------------------------
-
-